﻿/* 
 * Since 2008 - 2012
 */

package com.hh.bss.auth.service;

import java.io.Serializable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;

import com.hh.bss.auth.dao.*;
import com.hh.bss.auth.entity.*;
import com.hh.bss.auth.service.*;
import com.hh.bss.auth.vo.query.*;
import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.util.*;



public interface SystemUserService<E, PK extends Serializable> extends BusinessService<E, PK> {
	public Page findPage(SystemUserQuery query);

	public List findUserRole(SystemUserQuery query);

	public void userRoleSave(Integer userId, List roles);

	public SystemUser findByUsername(String username);

	public boolean validateIP(String ip);

	public void updateUser(SystemUser systemUser);
}
